<table>
<?php foreach ($args['tasks'] as $key=>$value):?>

    <tr><td>
            <table>
                <tr><td>Название: </td><td><a href="<?php print HTTP_SERVER.'task/'.$value['id_task']?>"><?php print $value['name']; ?></a></td></tr>
                <tr><td>Ссылка: </td><td><?php print $value['link']; ?></td></tr>
                <tr><td>Тип: </td><td><?php print $value['type']; ?></td></tr>
                <tr><td>Дата сооздания: </td><td><?php print $value['created']; ?></td></tr>
                <tr><td>Автор: </td><td><a href="<?php print DIR_BASE.'profile/'.$value['creator']->user_id; ?>"><?php print $value['creator']->user_login; ?></a></td></tr>
            </table>
    </td></tr>
    <tr><td>-----------------------------------------------------------------------</td></tr>

<?php endforeach; ?>
</table>
